package com.li.manage.action;

import javax.servlet.http.HttpServletRequest;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

@Controller
public class IndexAction {

	private Logger log = LoggerFactory.getLogger(IndexAction.class);
			
	@RequestMapping("/index")
	public ModelAndView index(HttpServletRequest req){
		System.out.println("--------------我是改变的");
		return new ModelAndView("/index");
	}
	/*@RequestMapping("/test")
	public ModelAndView test(HttpServletRequest req){
		log.error("测试哈哈");
		return new ModelAndView("/index");
	}
	@RequestMapping("/testJs")
	public ModelAndView testJs(HttpServletRequest req){
		log.error("测试哈哈");
		return new ModelAndView("/test/test");
	}*/
}
